function getRoles(type) {
  type = Number(type)
  let roles
  switch (type) {
    case 1:
      roles = ['hotel']
      break
    case 2:
      roles = ['cate']
      break
    case 3:
      roles = ['ktv']
      break
    case 4:
      roles = ['scenic']
      break
    default: roles = ['other']
      break
  }
  return roles
}

export default getRoles
